public class Hex extends Converter
{    
    public Hex(String val){
        int num = Check("0x[0-9A-Fa-f]+", val);
        set(num);
    }
    public Hex(Integer num){
        set(num);
    }
    @Override
    public int getSystem(){
        return 16;
    }
}